<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Hello</title>
</head>
<body>
Hello

<form role="form" action="/getInfoByName" method="post">
    username: <input type="text" id="userName" name="userName"><br/>
    <input type="submit" id="getInfoByName" value="getInfoByName">
</form>

</body>
</html>